package com.lagou.edu.service;



import com.lagou.edu.utils.Result;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author grung
 * @Date 2020/10/23 13:34
 * @Version 1.0
 */

public interface UserService {
    Result login(String email, String password, HttpServletResponse response);

    Boolean isRegistered(String email);


    Result register(String email, String password, String code,HttpServletResponse response);

    Result info(String token);
}
